package proxy2;

/**
 * @author 宋鑫宇
 * @version 1.0
 */
public class Proxy_ {
    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();
        UserService userService1 = UserAgentProxy.userProxy(userService);
        System.out.println(userService1.login("admin", "123456"));
        userService1.deleteUsers();
        System.out.println(userService1.selectUsers());
    }
}
